Add a css parser test for background-blend-mode
authorMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2016 17:16:43 +0000 (13:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2016 17:16:43 +0000 (13:16 -0400)
testsuite/css/parser/Makefile.am
testsuite/css/parser/background-blend-mode.css [new file with mode: 0644]
testsuite/css/parser/background-blend-mode.ref.css [new file with mode: 0644]

index d7744764ccccff6a5ba5e06d7f1a9ae7af832929..bd7989117a0ae4405c20423a49ee3d916facb021 100644 (file)
@@ -175,6 +175,8 @@ test_data = \
        at-valid-21.css \
        at-valid-21.errors \
        at-valid-21.ref.css \
+        background-blend-mode.css \
+        background-blend-mode.ref.css \
         background-clip.css \
         background-clip.ref.css \
         background-image.css \
diff --git a/testsuite/css/parser/background-blend-mode.css b/testsuite/css/parser/background-blend-mode.css
new file mode 100644 (file)
index 0000000..ae989cb
--- /dev/null
@@ -0,0 +1,19 @@
+a {
+  background-blend-mode: initial;
+}
+
+b {
+  background-blend-mode: inherit;
+}
+
+c {
+  background-blend-mode: unset;
+}
+
+d {
+  background-blend-mode: normal;
+}
+
+e {
+  background-blend-mode: color-burn, color-dodge, color, darken, difference, exclusion, hard-light, hue, lighten, luminosity, multiply, normal, overlay, saturate, screen, soft-light;
+}
diff --git a/testsuite/css/parser/background-blend-mode.ref.css b/testsuite/css/parser/background-blend-mode.ref.css
new file mode 100644 (file)
index 0000000..ae989cb
--- /dev/null
@@ -0,0 +1,19 @@
+a {
+  background-blend-mode: initial;
+}
+
+b {
+  background-blend-mode: inherit;
+}
+
+c {
+  background-blend-mode: unset;
+}
+
+d {
+  background-blend-mode: normal;
+}
+
+e {
+  background-blend-mode: color-burn, color-dodge, color, darken, difference, exclusion, hard-light, hue, lighten, luminosity, multiply, normal, overlay, saturate, screen, soft-light;
+}